<?php

if (empty($this->hits)){
    echo "Ничего не найдено.";
} else {
    echo "<ul>";
    foreach($this->hits as $hit){
        echo "<li>{$hit->Title}</li>";
        echo "<li>{$hit->About}</li>";
        echo "<li>{$hit->Town}</li>";
        echo "<li>{$hit->Address}</li>";
    }
    echo "</ul>";
}